package run;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.whf.dao")
//注意这里一定要放到一个包中，不能放到默认包中
public class ApiApplication {
   public static void main(String[] args){
       SpringApplication.run(ApiApplication.class, args);
   }

}
